home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / Apps / Director / DATA.Z / Lists Lingo.dir / Scripts_106_addProp aPropertyList.ls < prev    next >
Encoding:
Text File  |  1997-05-10  |  523 b   |  13 lines

  1. on mouseDown
  2.   global gDefaultPropList
  3.   doButton()
  4.   set vAddValue to the text of member "Adding Property AddProp Input Field 2"
  5.   set vAddValue to checkValue(vAddValue)
  6.   set vAddProperty to the text of member "Adding Property AddProp Input Field 1"
  7.   set vAddProperty to checkValue(vAddProperty)
  8.   if (vAddValue <> EMPTY) and (vAddProperty <> EMPTY) then
  9.     addProp(gDefaultPropList, vAddProperty, vAddValue)
  10.     set the text of member "Adding Property AddProp Display Field 1" to string(gDefaultPropList)
  11.   end if
  12. end
  13.